﻿using System.Windows.Input;
using Columbus;
using Columbus.Commands;

namespace SimpleMultiFrameApplication
{
    public class Page1ViewModel : ViewModel
    {
        public Page1ViewModel()
        {
            GoToPage2Command = new DelegateCommand(() => Navigator.NavigateTo<ApplicationController>(c => c.Page2()));
        }

        public ICommand GoToPage2Command { get; set; }
    }
}